package com.qf.pojo;


import javafx.beans.DefaultProperty;
import org.springframework.util.StringUtils;

public class Categories implements CheckNull {//图书分类表

  private long categoryid;
  private String categoryname;//图书分类名称

  private long datastatus;// 分类数据状态  0正常 1 禁用

  @Override
  public boolean isNull() {
    return !StringUtils.isEmpty(categoryname);
  }

  public long getCategoryid() {
    return categoryid;
  }

  public void setCategoryid(long categoryid) {
    this.categoryid = categoryid;
  }


  public String getCategoryname() {
    return categoryname;
  }

  public void setCategoryname(String categoryname) {
    this.categoryname = categoryname;
  }


  public long getDatastatus() {
    return datastatus;
  }

  public void setDatastatus(long datastatus) {
    this.datastatus = datastatus;
  }

}
